﻿using UnityEngine;
using BridgeShips.AI;
namespace Framework.Entity {
    /// <summary>
    /// 实体接口
    /// </summary>
    public interface IEntity {
        bool IsShow { get; set; }
        int Priority { get; set; }
        uint GetID();
        void OnStart();
        void OnHide();
        void OnShow();
        void OnRelease();
        void OnUpdate( float frameTime, float realTime );

        GameObject Get();

        AIShip GetAI();

        Vector3 Position();

        void LocateFlag( int index );

        int GetLocateFlag();

        int GetVehicleType();
    }
}
